package cn.itcast.service;


import cn.itcast.entity.PageResult;
import cn.itcast.entity.QueryPageBean;
import cn.itcast.pojo.Member;

import java.util.List;


public interface MemberService {

    //查询全部
    List<Member> findAll();

    //根据id进行查询
    Member findById(Integer id);

    //分页查询
    PageResult pageQuery(QueryPageBean queryPageBean);

    //新增
    void add(Member member);

    //修改
    void edit(Member member);

    //修改状态
    void update(Integer id, Integer status);

    //根据月份查询会员信息
    List<Integer> findMemberByMonths(List<String> months);



}
